package com.uni.dao;

import com.uni.pojo.ProductCreate;
import com.uni.pojo.ProductCreateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ProductCreateMapper {
    long countByExample(ProductCreateExample example);

    int deleteByExample(ProductCreateExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ProductCreate record);

    int insertSelective(ProductCreate record);

    List<ProductCreate> selectByExample(ProductCreateExample example);

    ProductCreate selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ProductCreate record, @Param("example") ProductCreateExample example);

    int updateByExample(@Param("record") ProductCreate record, @Param("example") ProductCreateExample example);

    int updateByPrimaryKeySelective(ProductCreate record);

    int updateByPrimaryKey(ProductCreate record);
}